package com.lzw.service;

import com.lzw.bean.User;
import com.lzw.common.bean.Result;
import com.lzw.common.service.BaseService;
import com.lzw.common.tool.CookieTool;

import java.net.HttpCookie;

/**
 * Created by 林志伟 on 2017/5/11.
 */
public interface UserService extends BaseService<User>{

    public User findByName(String name);




    public Result login(String name, String password,CookieTool cookieTool);

    public void logout(CookieTool cookieTool);

}
